<!--{include file="`$theme_name`/header.html" page_title="`$page_title`" nav_id="`$nav_id`"}-->
<div class="wrapper">
	<div class="content">
	<div class="tips"><span>{$position}</span></div>
    <div class="blank6"></div>
    <div class="detailtopcon clearfix">
			<h3>{$item.title}</h3>
            {if $item.picture}
			<div class="detailtopconleft">
				<p class="left1"><img src="{$item.image}" width="80" height="80" /></p>
				<p class="left2"><a href="misc.php?source={$item.image_url}" target="_blank"><img src="{$theme_img_path}images/detail_17.jpg" alt="" /></a><span>{lang enlarge_image}</span></p>
			</div>
            {/if}
			<div class="detailtopconleft2">
				<p>{$item.title|strip_tags}</p>
				<p>{lang post_time}{$item.pubdate}</p>
				<p>{lang effective_date}{$item.expdate}</p>
				<!-- {if $item.price>0} --><p>{lang the_price_n}<em class="value">{$item.price}</em></p><!-- {/if} -->
				<p>{lang area}{$item.area_names}</p>
                <p>{lang belong_industry}{$item.industry_names}</p>
				<!-- {if $item.tag} --><p>{lang keyword}{$item.tag}</p><!-- {/if} -->
                <p> 
                 <form name="favor_frm" id="FavorFrm" action="virtual-office/favor.php" method="post" target="_blank">
                     <input type="hidden" name="id" value="{$item.id}" />
                     <input type="hidden" name="do" value="favor" />
					  <input type="button" name="favor" value="{lang add_favorite}"  class="btn_submit" id="favor" onclick="$('#FavorFrm').submit();" />
				  {if $pb_userid==$item.member_id}
					  <input type="button" name="edit" value="{lang to_edit}"  class="btn_submit" onclick="redirect('{$SiteUrl}virtual-office/offer.php?do=edit&id={$item.id}');" />					
                    {/if}
                     </form>
 
                    </p>
			</div>
			<div class="detailtopconright">
				<p class="right1">{if $item.companyname}
<a href="{the_url module=space userid=`$item.space_name`}" target="_blank" title="{$item.companyname}">{$item.companyname}</a>{else}{lang released_by_personnal}{/if}</p>
				<p>{lang contact_people}{$item.link_people}</p>
				<p>{lang member_type}{if $MEMBER.groupname}<img src="{$MEMBER.groupimage}" alt="{$MEMBER.groupname}" />{/if}</p>
				<p>{lang reputation_index_n}{$MEMBER.credits}</p>
				<p>{lang authentication_type}{$MEMBER.trust_image}</p>
			</div>
		</div>
     <div class="blank6"></div>
	<div class="detailtop3">
		<div class="detailtop3left">
			<h3><img src="{$theme_img_path}images/lhighs.gif" alt="" />{lang details}</h3>
			<div class="detailtop3leftcon">
				<table width="578" border="0">
                <!--{foreach from=$ObjectParams name=op item=tparam}-->
					<tr>
					  <td class="tableblue">{$tparam.label}</td>
					  <td classs="lightblue">{$tparam.value}</td>
				</tr>
               	<!--{/foreach}-->
			   </table>
               {$item.content|nl2br|stripslashes}
			</div>				
		</div>
		<div class="detailtop3right">
            {if !$LoginCheck && $pb_username==""}
			<div class="contacttype">
				<p class="right1">{lang members_view}</p>
				<p>{lang register_site_member} 
                            <input type="button" name="btn_login" value="{lang login}" onclick="redirect('{$SiteUrl}logging.php?forward={$smarty.server.REQUEST_URI}');" class="btn_submit">{lang fenhao}</p>
				<p>{lang not_register_site_member}<input type="button" name="btn_register" value="{lang free} {lang register}" class="btn_submit" onclick="redirect('{$SiteUrl}member.php');">{lang registered_site_member} 
                </p>
			</div>
            {else}
			<div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" />{lang contact}</h3>
				<p>{lang address}{$item.address}<br /> 
				   {lang zip}{$item.zipcode}<br /> 
				   {lang phone}{$item.tel}<br />
				   {lang fax}{$item.fax}<br /> 
				   {lang website}{$item.site_url}</p>
			</div>
            {/if}
			<div class="contacttype">
				<h3><img src="{$theme_img_path}images/lhighs.gif" />{lang add_information_release}</h3>
				<ul>
                	{pb:offer memberid=`$item.member_id` row=10 name="item"}
					<li><span class="title">{$item.link}</span><span class="type"><a target="_blank" href="offer/list.php?typeid={$item.typeid}">[{$item.typename}]</a></span></li>
                    {/pb:offer}
				</ul>
			</div>
		</div>
		<div class="clear"></div>
	</div>
</div>
<script>
$("#SearchFrm").attr("action","offer/list.php");
$("#topMenuOffer").addClass("lcur");
</script>
<!--{include file="`$theme_name`/footer.html"}-->